#include "sensortool.h"
#include <QPainter>
#include <QDesktopWidget>
#include <QSettings>

SensorTool::SensorTool(QWidget *parent, Qt::WFlags flags)
	: QWidget(parent, flags)
{
	ui.setupUi(this);
}

SensorTool::~SensorTool()
{

}

void SensorTool::closeEvent(QCloseEvent *event)
{

	emit closeWindow();
}

void SensorTool::showEvent(QShowEvent *event)
{
	emit showed();
}